package com.gary.spring.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author peng_rui
 * @date 2022/6/23
 */
@Configuration
@Import({Bean3.class})
@ComponentScan("com.gary.spring.a05")
public class Config {

    @Bean
    public Bean2 getBean2() {
        return new Bean2();
    }

}
